#define _CRT_SECURE_NO_WARNINGS

#include "SeqList.h"

int main()
{
	SeqList a(0, 4);

	a.PushBack(1);
	a.PushBack(2);
	a.PushBack(3);
	a.PushBack(4);  
	a.PushBack(5);
	a.PushBack(6);
	//a.PushFront(6); 
	//a.Insert(2, 111);
	//a.Insert(2, 111);
	//a.Insert(2, 111);
	//a.Erase(0);
	//a.Erase(0);
	//a.Erase(0);
	int pos = a.Find(6);
	if (pos != -1)
		a.Erase(pos);
	/*a.PopFront();
	a.PopFront();
	a.PopFront();*/
	//a.PopBack();
	//a.PopBack();
	//a.PopBack();
	//a.PopBack();

	 
	a.Print();
	return 0;
}